package com.demo.user;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import com.demo.common.annontion.EnableDemoFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * user-service 服务启动类
 *
 * @author YT
 * @date 2019-05016
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableDemoFeignClients
//@EnableDistributedTransaction
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }

}
